//工具生成，请不要手动修改...
function $(key: string, st: any, ...deps: any[]) {
    deps.length && depFns.push(() => {
        for (let i = 0; i < deps.length; ++i) {
            _[key][deps[i]][3] = _[deps[++i]];
        }
    });
    Object.defineProperty(_, key, { get: () => Object.defineProperty(_, key, { value: st })[key], enumerable: true, configurable: true })[key];
}
const _: any = {}, depFns: (() => void)[] = [];
$("com.Player", [["pid", 7], ["name?", 22], ["x?", 17, 0, 2], ["y?", 17, 0, 2], ["ang?", 17, 0, 2]]);
$("login.Svr", [["sid", 7], ["name", 22], ["state", 7], ["load", 7]]);
$("login.JoinData", [["openTime", 7], ["player", 23]], 1, "login.Player");
$("login.Player", [["pid", 7], ["sid", 7], ["name", 22], ["career", 7], ["createTime", 7], ["mapId", 7]]);
depFns.forEach(fn => fn());

export const msgStrcutCount = 9;
export default {
    1: [, [["players", 23, 1, _["com.Player"]]]],
    2: [, [["pids", 7, 1]]],
    3: [[["x", 17, 0, 2], ["y", 17, 0, 2]], [["players", 23, 1, _["com.Player"]]]],
    1000: [, [["svrList", 23, 1, _["login.Svr"]]]],
    1001: [[["sid", 7]], [["sid", 7], ["host", 22]]],
    1002: [[["sid", 7], ["user", 22]], [["code", 7], ["msg?", 22]]],
    1003: [[["name", 22], ["cid", 7]], [["code", 7], ["msg?", 22]]],
    1004: [, [["code", 7], ["data?", 23, 0, _["login.JoinData"]], ["msg?", 22]]],
    1005: [,],
}